package app.dev.ems.web.wicket.page.admin;

import java.lang.reflect.InvocationTargetException;

import app.dev.ems.web.element.NavigationStatus;
import app.dev.ems.web.element.menu.MenuElement;
import app.dev.ems.web.wicket.page.BasePage;
import app.dev.ems.web.wicket.panel.menu.horizontal.admin.AdminHorizontalMenuPanel;
import app.dev.ems.web.wicket.panel.menu.vertical.BaseVerticalMenuPanel;

public abstract class BaseAdminPage extends BasePage {

	private static final long serialVersionUID = 3402262649626171208L;

	public BaseAdminPage(NavigationStatus activeHorizontalNavigationStatus, NavigationStatus activeVerticalNavigationStatus, Class<? extends BaseVerticalMenuPanel> verticalMenuPanel) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException {
		super(activeHorizontalNavigationStatus, activeVerticalNavigationStatus, verticalMenuPanel);
		add(new AdminHorizontalMenuPanel(MenuElement.HORIZONTAL_NAVIGATION.getElement()));
	}
}
